
<?php 
	session_start();
//include_once 'admin/db.php';
//include_once 'admin/clsAdminController.php';
include 'admin/conn/conn.php';
	$arrImagePath = array();
	//$objdb = new bannisterDB();
	//$objdb->connectdb();
	$sqlImgeForSlideshow = "SELECT image_path FROM tbl_image_gallery";
	$run = mysql_query($sqlImgeForSlideshow);
	while($data=mysql_fetch_array($run))
	{
		array_push($arrImagePath, $data['image_path']);
	}
	
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


<head>
<title>Ski-Doo, Can-AM, Mercury, Lowe, HarberCraft - GIBBONS MOTOR TOYS</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Gibbons Motor Toys has locations in Gibbons, AB & Salmon Arm, BC. Specializing in sales and service of marine products, snowmobiles, and ATVs from Ski-Doo, Can-Am, Mercury, and Harbercraft." />
<meta name="keywords" content="atv sales, atv dealer, boat dealer, boat sales, mercury motors, outboard motors, four-wheeler, 4 wheeler, snowmobiles, sleds, sled racks, atv parts, atv service alberta, atv service shop, fix atv, fix boat, boat parts, razor, razer, commander, kingfisher, harborcraft boats, gibsons motor toys, Ski-Doo, Can-AM, Mercury, Lowe, HarberCraft, marine sales, fish boat, aluminum boat" /> 
<meta name="robots" content="All" />
<meta name="rating" content="General" />
<meta name="resource-type" content="document" />
<meta name="revisit-after" content="4 Days" />
<meta name="distribution" content="Global" />
<meta name="copyright" content="Copyright Gibbons Motor Toys - gibbonsmotortoys.com All Rights Reserved" />
<link href="gibbons-styles.css" rel="stylesheet" type="text/css">
</head>

<body>
<div id="container">
<div id="logo-header" >
<?php
include "includes/logoheader-nav.php";
?>
</div>
<div id="maintable"> 
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
	 <!-- page content -->
		   <tr >
	 <td width="1000" valign="top">
	 	  	<div style="width:1000px;height:18px" ></div>
		    
		  	<div style="float:left;width:726px;margin-left:4px" >
		
<h1 >PHOTO GALLERY</h1>
<br />	
<?php 
		  	if(count($arrImagePath)>0)
		  	{
		  		foreach($arrImagePath as $imgPath)
		  		{
		  			?>
		  				<img src="<?php echo $imgPath; ?>" width="130" height="130" border="0" alt="" />
		  			<?php 
		  		}
		  	}
		  	?>

</div>
		  	
		 	<div style="float:right;width:232px;margin-right:4px" >
				 <div style="float:left;line-height:48px" >Follow Us:</div>
				 <div style="float:right;margin-left:6px" ><a href="http://www.youtube.com/user/Bradenmonstergt" target="_blank"><img src="./images/youtube-icon.png" width="47" height="48" border="0" alt="Youtube" /></a></div>
				 <div style="float:right;margin-left:6px" ><a href="http://www.twitter.com/GibbonsMotorToy" target="_blank"><img src="./images/twitter-icon.png" width="47" height="48" border="0" alt="Twitter" /></a></div>
				 <div style="float:right" ><a href="http://www.facebook.com/gibbonsmotortoys" target="_blank"><img src="./images/facebook-icon.png" width="47" height="48" border="0" alt="Facebook" /></a></div>
		 		<div style="clear:both;width:232px;height:18px" ></div>
				
			</div>
		
		
		<div style="clear:both;width:1000px;height:24px" ></div>		    
		  </td>
	 </tr>
	
	 </table>
	 </div>
<div id="footer">
<!-- bottom links -->
<?php
include "includes/bottom-links.php";
?>
</div>
</div>
</body>
</html>
